package com.example.thread.d6_1悲观锁乐观锁;
// 悲观锁,悲观锁
public class Test1 {
    public static void main(String[] args) {
        Runnable target = new MyRunnable();
        for (int i = 0; i < 100; i++) {
            new Thread(target).start();
        }
    }
}
